from pyamf.remoting.gateway.wsgi import WSGIGateway
from wsgiref import simple_server

from bioauth.biometric_backends import LiaRalBackend



gateway = WSGIGateway({'bioauth' : LiaRalBackend})

httpd = simple_server.WSGIServer(('0.0.0.0', 9090), simple_server.WSGIRequestHandler)
httpd.set_app(gateway)
httpd.serve_forever()
